#/bin/bash
version=2.0.10
cp -r ../../sql ./sql
docker build -t cattle-mysql:${version} .
rm -rf ./sql
docker tag cattle-mysql:${version} registry.cn-hangzhou.aliyuncs.com/lijiahangmax/cattle-mysql:${version}
docker push registry.cn-hangzhou.aliyuncs.com/lijiahangmax/cattle-mysql:${version}
